package com.github.thinwonton.ci.web.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.github.thinwonton.ci.facade.IDService;

@Controller
public class PageController {

	@Autowired
	private IDService idService;

	@RequestMapping(value = "/id")
	@ResponseBody
	public String getId() {
		return idService.getId();
	}
}
